AddressLists Collection Object

The AddressLists collection object contains one or more AddressList objects.

Quick Info

Specified in header file:

MDISP.ODL

First available in version:

OLE Messaging Library 1.1

Parent objects:

Session2KVAZVM

Child objects:

AddressList1O7.CTU

Default property:

ItemJGP36R

 

An AddressLists collection is considered a small collection, which means that it supports count and index values that let you access an individual AddressList object through the Item property. The AddressLists collection supports the Visual Basic For Each statement.

Properties

 
Property name

Available in version

 
Type

 
Access

Application5GI0QO

1.1

String

Read-only

Class1CT5_O0

1.1

Long

Read-only

CountFVZT5Y

1.1

Long

Read-only

ItemJGP36R

1.1

AddressList object

Read-only

Parent13HN1VR

1.1

Session object

Read-only

Session23X3PG

1.1

Session object

Read-only

 

Methods

(None.)

Remarks

The AddressLists collection provides access to the root of the MAPI address book hierarchy for the current session. You can use the Count and Item properties to traverse the hierarchy for all available address books, or you can use the Item property to select a particular AddressList1O7.CTU object. The type of access you obtain depends on the access granted to you by each available address book provider.

Each AddressList object represents one MAPI address book container. The AddressLists collection contains only those AddressList objects that contain recipients, and not those containing only subcontainers. For more information on the different types of containers, see the description of the PR_CONTAINER_FLAGS property in the MAPI SDK.